package com.zq.sysuser.service;

import com.zq.sysuser.dao.entity.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张乔
 * @since 2024-04-26
 */
public interface IPermissionService extends IService<Permission> {
    //    获取所有菜单
    List<Permission> getAll();
    //    删除菜单
    void removeByIdApi(Integer id);
    //增加菜单
    void saveMenu(Permission permission);
}
